public class StringArrayTest {
    
    public static List<String> generateStringArray(Integer count){
        List<String> retList = new List<String>();
        for(Integer i = 0; i < count; i++) {
            retList.add('Test ' + i);
        }
        // System.debug(retList);
        return retList;
    }
    
}